package com.neusoft.neuiotms.dcom.repository.change;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.change.ChangeRegistrationAttachment;

public interface ChangeRegistrationAttachmentRepository extends JpaRepository<ChangeRegistrationAttachment, Long> {

    List<ChangeRegistrationAttachment> findByFsId(String fsId);

    List<ChangeRegistrationAttachment> findByFsIdIn(List<String> fsIds);

    List<ChangeRegistrationAttachment> findByChangeRegistrationId(Long id);

    void deleteByFsId(String fsId);
}
